package com.hcms.system.dao;

import com.hcms.system.domain.RoleDo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface RoleDao {

    RoleDo get(Integer id);

    List<RoleDo> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(RoleDo role);

    int update(RoleDo role);
}
